@import '@/styles/mixins.scss';
@import '@/styles/variables.scss';

@media screen and (min-width: 320px) {
  .carousel {
    margin: 0.5rem 0;
    @include bg_color('main_bgc');
    //@include border-pinkline(1rem, 0);
    position: relative;
    user-select: none;
    .bannerTitle {
      position: relative;
      @include font_color('nav_color');
      font-size: 1.3rem;
      font-weight: 500;
      text-align: center;
      text-shadow: 3px 3px 5px var($shadowColor);
    }

    .slideContent {
      position: absolute;
      left: 0;
      width: 100%;
      bottom: 3px;
      padding: 40px 10px 20px;
      box-sizing: border-box;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.75)
      );
      border-radius: 0 0 8px 8px;

      .name {
        font-size: 1.2rem;
        font-weight: 500;
        color: #fff;
      }

      .tags {
        font-size: 0.8rem;
        color: #fff;
      }
    }

    .img {
      width: 100%;
      height: 400px;
      border-radius: 8px;
      object-fit: cover;
    }
  }
}
